<!DOCTYPE html>
<!-- saved from url=(0030)./agentReport -->
<html style="font-size: 23.4375px;">
<head>
    <include file="./public/header.html"/>
</head>
<body style="font-size: 21.7589px;">
<div id="app">
    <div id="shadow" style="display: none;"></div>
    <header class="top">
        <span>代理报表</span> <!---->
        <div class="iconfont back" style="display: none;"></div>
        <a href="{:U('Users/agentCenter')}" class="iconfont back"></a></header>

    <div data-v-0a498542="" style="padding-bottom: 0;" class="main" s="[object Object]">
        <div data-v-0a498542="">
            <div class="textMore dataType">
                <em></em>
                <i class="iconfont"></i>
            </div>
            <div class="_problemBox" style="display: none;">
                <div class="blackBg"></div>
                <div class="moreLayer">
                    <ul>
                        <li class="times <?php if($shijian=='1'){echo 'on';}; ?>"><a  data-value="1" onclick="xuanze(this.id)" id="jintian" name="jintian">今天</a></li>
                        <li class="times <?php if($shijian=='2'){echo 'on';}; ?>"><a  data-value="2" onclick="xuanze(this.id)" id="zuotian" name="zuotian">昨天</a></li>
                        <li  class="times <?php if($shijian=='3'){echo 'on';}; ?>"><a data-value="3" onclick="xuanze(this.id)" id="benyue" name="benyue">本月</a></li>
                        <li class="times <?php if($shijian=='4'){echo 'on';}; ?>"><a  data-value="4" onclick="xuanze(this.id)" id="shangyue" name="shangyue">上月</a></li>
                    </ul>
                    <ul>
                        <li><a>取消</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div data-v-0a498542="" class="searchBtn">
            <div data-v-0a498542="" class="searchCon">
                <input data-v-0a498542="" type="text" placeholder="下级报表查询" value="{$zhanghao}" class="proxySearch zhanghao">
            </div>
            <a data-v-0a498542="" id="submitBtn" onclick="xuanze1()">
                <div data-v-0a498542="" class="submitTouch">
                    <i data-v-0a498542="" class="iconfont"></i></div>
            </a>
        </div>

        <div data-v-0a498542="" id="proxy3colCon" class="proxy3colCon">
            <ul data-v-0a498542="" class="PLSdetail fix">
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$touzhu); ?></span>投注金额</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$zhongjiang); ?></span>中奖金额</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$huodong); ?></span>活动礼金</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$fandian); ?></span>团队返点</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$yingli); ?></span>团队盈利</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$chongzhi); ?></span>充值金额</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$tixian); ?></span>提现金额</li>
                <li data-v-0a498542=""><span data-v-0a498542="">{$count_sc}</span>首充人数</li>
                <li data-v-0a498542=""><span data-v-0a498542="">{$count_zc}</span>注册人数</li>
                <li data-v-0a498542=""><span data-v-0a498542="">{$renshu}</span>投注人数</li>
                <li data-v-0a498542=""><span data-v-0a498542="">{$count}</span>下级人数</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$yue); ?></span>团队余额</li>
                <li data-v-0a498542=""><span data-v-0a498542=""><?php echo sprintf("%.2f",$fandian); ?></span>代理返点</li>
                <li data-v-0a498542=""></li>
                <li data-v-0a498542=""></li>
            </ul>
        </div>
    </div>
</div>

<!--<script src="js/jquery-1.9.1.min.js"></script>-->
<script>
    $(function(){
        $(".moreLayer ul:nth-of-type(1) li").each(function () {
            if($(this).hasClass("on")){
                $(".dataType em").text($(this).text());
            }
        })
    })

    $(".dataType").click(function(){
        $("._problemBox").show();
    });
    $("._problemBox ul:first-of-type li").click(function(){
        var TXT = $(this).text();
        $(".dataType em").text(TXT);
    })
    $("._problemBox ul li").click(function(){
        $("._problemBox").hide();
    })
    //时间的 传值
    function xuanze(a){
        var shijian = $("#"+a).attr("data-value");
        var zhanghao = $(".zhanghao").val();
        window.location.href="/Users/agentReport/shijian/"+shijian+"/zhanghao/"+zhanghao;
    }
    function xuanze1(){
        var shijian = $(".times.on").find("a").attr("data-value");
        var zhanghao = $(".zhanghao").val();
        window.location.href="/Users/agentReport/zhanghao/"+zhanghao+"/shijian/"+shijian;
    }


</script>
</body>
</html>